#include "stdafx.h"

extern "C" __declspec(dllexport) UiToolBarPro* UiToolBarProCtor()
{
	return new UiToolBarPro();
}

extern "C" __declspec(dllexport) COLORREF UiToolBarProGetDisableTextColor(UiToolBarPro* pObj)
{
	return pObj->GetDisableTextColor();
}

extern "C" __declspec(dllexport) void UiToolBarProSetDisableTextColor(UiToolBarPro* pObj, COLORREF crText)
{
	pObj->SetDisableTextColor(crText);
}

extern "C" __declspec(dllexport) void UiToolBarProEnableButton(UiToolBarPro* pObj, ToolBarProButtonIndex nIndex, bool bEnable)
{
	pObj->EnableButton(nIndex,  bEnable);
}

extern "C" __declspec(dllexport) void UiToolBarProEnableSeparateLine(UiToolBarPro* pObj, int nIndex, bool bEnable)
{
	pObj->EnableSeparateLine(nIndex,  bEnable);
}

extern "C" __declspec(dllexport) void UiToolBarProSetButton(UiToolBarPro* pObj, ToolBarProButtonIndex nIndex, bool bShow, bool bEnable, const wchar_t* strText)
{
	pObj->SetButton(nIndex, bShow, bEnable, strText);
}

extern "C" __declspec(dllexport) void UiToolBarProSetMiddleButton(UiToolBarPro* pObj, bool bShow, bool bEnable, const wchar_t* strText, ImagingHelper* img, ImagingHelper* imgHL, ImagingHelper* disImg)
{
	pObj->SetMiddleButton(bShow, bEnable, strText, img, imgHL, disImg);
}

extern "C" __declspec(dllexport) void UiToolBarProSetIconButton(UiToolBarPro* pObj,ToolBarProButtonIndex nIndex, bool bShow, bool bEnable, ImagingHelper* img, ImagingHelper* imgHL, ImagingHelper* disImg)
{
	pObj->SetIconButton(nIndex,bShow, bEnable,img, imgHL, disImg);
}

extern "C" __declspec(dllexport) void UiToolBarProSetIconButtonImage(UiToolBarPro* pObj,ToolBarProButtonIndex nIndex, ImagingHelper* img, ImagingHelper* imgHL, ImagingHelper* disImg)
{
	pObj->SetIconButtonImage(nIndex,img, imgHL, disImg);
}